package com.elitetyc.eliteim.client.handler;

import lombok.extern.slf4j.Slf4j;

/**
 * @author yuanchao.tan
 * @version 1.0
 * @description
 * @Date 2022/5/26 17:04
 */
@Slf4j
public class ThreadExceptionHandler implements Thread.UncaughtExceptionHandler{
    @Override
    public void uncaughtException(Thread t, Throwable e) {
      log.error("线程{},抛出了异常{}",t.getName(),e.getMessage(),e);
    }
}
